Skip to content

feat(kubevirt): add tool for QEMU guest agent access#811

Open
codingben wants to merge 2 commits intocontainers:mainfrom
codingben:add-guest-info
Open

feat(kubevirt): add tool for QEMU guest agent access#811
codingben wants to merge 2 commits intocontainers:mainfrom
codingben:add-guest-info

Conversation

@codingben
Copy link
Copy Markdown
Contributor

@codingben codingben commented Feb 25, 2026

Implements vm_guest_info tool to retrieve information from inside running VMs via QEMU guest agent without requiring SSH credentials.

Assisted-By: Claude noreply@anthropic.com

@codingben
Copy link
Copy Markdown
Contributor Author

/cc @lyarwood @ksimon1 @manusa @Cali0707

Copy link
Copy Markdown
Contributor

@lyarwood lyarwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets start with the evals, the use cases here are far too high level and model dependant for now. Can you simplify these and break them out into their own commits before any tooling is introduced.

@codingben
Copy link
Copy Markdown
Contributor Author

@ksimon1 I'll address it. @lyarwood Does it looks better now?

Add five simple evaluation tasks that test basic vm_guest_info functionality:
- get-vm-filesystems: Get filesystem information from inside a VM
- get-vm-ip-address: Get IP address from inside the guest OS
- get-vm-os-info: Get OS name and version from a VM
- list-vm-users: List currently logged-in users in a VM
- vm-guest-info: General test for retrieving guest agent information

These evals focus on testing the basic building blocks rather than
high-level use cases, making them more reliable and model-independent.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Ben Oukhanov <boukhanov@redhat.com>
Add new vm_guest_info tool that enables querying information from inside
VirtualMachines using the QEMU guest agent, without requiring SSH access
or credentials.

The tool supports querying:
- os: Operating system information (name, version, kernel, hostname)
- filesystem: Mounted filesystems and disk usage
- network: Network interfaces and IP addresses
- users: Currently logged-in users and sessions

This provides a secure way to gather runtime information from VMs for
monitoring, troubleshooting, and compliance purposes.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Ben Oukhanov <boukhanov@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants